package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_xhb_sleep_class")
public class BhyfXhbSleepClass implements Serializable {

    private static final long serialVersionUID= -6340248584178462987L;

    /**
     * 自增长ID
     */
    @ApiModelProperty(value = "自增长ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级ID
     */
    @TableId(value = "classid")
    @ApiModelProperty(value = "班级ID")
    private Integer classid;


    /**
     * 日期
     */
    @TableId(value = "sleepdate")
    @ApiModelProperty(value = "日期")
    private Date sleepdate;

    /**
     * 年级
     */
    @TableId(value = "gradenum")
    @ApiModelProperty(value = "年级")
    private Integer gradenum;

    /**
     * 园ID
     */
    @TableId(value = "gardenid")
    @ApiModelProperty(value = "园ID")
    private Integer gardenid;

    /**
     * 省
     */
    @TableId(value = "province")
    @ApiModelProperty(value = "省")
    private Integer province;

    /**
     * 市
     */
    @TableId(value = "city")
    @ApiModelProperty(value = "市")
    private Integer city;

    /**
     * 区
     */
    @TableId(value = "district")
    @ApiModelProperty(value = "区")
    private Integer district;

    /**
     * 平均时间
     */
    @TableId(value = "avgseconds")
    @ApiModelProperty(value = "平均时间")
    private Double avgseconds;

    /**
     * 断续数量
     */
    @TableId(value = "unsoundcount")
    @ApiModelProperty(value = "断续数量")
    private Integer unsoundcount;

    /**
     * 没有数据数量
     */
    @TableId(value = "nocount")
    @ApiModelProperty(value = "没有数据数量")
    private Integer nocount;


    /**
     * 几乎没睡数量
     */
    @TableId(value = "lesscount")
    @ApiModelProperty(value = "几乎没睡数量")
    private Integer lesscount;


    /**
     * 睡眠少数量
     */
    @TableId(value = "fewcount")
    @ApiModelProperty(value = "睡眠少数量")
    private Integer fewcount;

    /**
     * 正常数量
     */
    @TableId(value = "heathcount")
    @ApiModelProperty(value = "正常数量")
    private Integer heathcount;

    /**
     * 入睡困难数量
     */
    @TableId(value = "insomniacount")
    @ApiModelProperty(value = "入睡困难数量")
    private Integer insomniacount;

    /**
     * 班级平均入睡时长
     */
    @TableId(value = "avgfallseconds")
    @ApiModelProperty(value = "班级平均入睡时长")
    private Double avgfallseconds;

    /**
     * 创建时间
     */
    @TableId(value = "createtime")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    public Integer getGardenid() {
        return gardenid;
    }

    public void setGardenid(Integer gardenid) {
        this.gardenid = gardenid;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getDistrict() {
        return district;
    }

    public void setDistrict(Integer district) {
        this.district = district;
    }

    public Integer getUnsoundcount() {
        return unsoundcount;
    }

    public void setUnsoundcount(Integer unsoundcount) {
        this.unsoundcount = unsoundcount;
    }

    public Integer getNocount() {
        return nocount;
    }

    public void setNocount(Integer nocount) {
        this.nocount = nocount;
    }

    public Integer getLesscount() {
        return lesscount;
    }

    public void setLesscount(Integer lesscount) {
        this.lesscount = lesscount;
    }

    public Integer getFewcount() {
        return fewcount;
    }

    public void setFewcount(Integer fewcount) {
        this.fewcount = fewcount;
    }

    public Integer getHeathcount() {
        return heathcount;
    }

    public void setHeathcount(Integer heathcount) {
        this.heathcount = heathcount;
    }

    public Date getSleepdate() {
        return sleepdate;
    }

    public void setSleepdate(Date sleepdate) {
        this.sleepdate = sleepdate;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Double getAvgseconds() {
        return avgseconds;
    }

    public void setAvgseconds(Double avgseconds) {
        this.avgseconds = avgseconds;
    }

    public Integer getInsomniacount() {
        return insomniacount;
    }

    public void setInsomniacount(Integer insomniacount) {
        this.insomniacount = insomniacount;
    }

    public Double getAvgfallseconds() {
        return avgfallseconds;
    }

    public void setAvgfallseconds(Double avgfallseconds) {
        this.avgfallseconds = avgfallseconds;
    }

    @Override
    public String toString() {
        return "BhyfXhbSleepClass{" +
                "id="+id+
                "classid=" + classid +
                ", sleepdate=" + sleepdate +
                ", gradenum=" + gradenum +
                ", gardenid=" + gardenid +
                ", province=" + province +
                ", city=" + city +
                ", district=" + district +
                ", avgseconds=" + avgseconds +
                ", unsoundcount=" + unsoundcount +
                ", nocount=" + nocount +
                ", lesscount=" + lesscount +
                ", fewcount=" + fewcount +
                ", heathcount=" + heathcount +
                ", insomniacount=" + insomniacount +
                ", avgfallseconds=" + avgfallseconds +
                ", createtime=" + createtime +
                "}";
    }
}
